package com.zb.baidu.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author WEN
 * @Date 2024/5/24 0024
 **/
@Data
@ApiModel("银行卡识别对象")
public class BankcardVo {

    @NotBlank(message = "图像数据不能为空")
    @ApiModelProperty(value = "图像数据，base64编码后进行urlencode，需去掉编码头（data:image/jpeg;base64, ）" +
            "要求base64编码和urlencode后大小不超过4M，最短边至少15px，最长边最大4096px，支持jpg/jpeg/png/bmp格式", required = true)
    private String image;
}
